package com.ruoyi.order.mapper;

import java.util.List;
import com.ruoyi.order.domain.OrderAllocation;

/**
 * 订单分配Mapper接口
 * 
 * @author testlove
 * @date 2021-07-08
 */
public interface OrderAllocationMapper 
{
    /**
     * 查询订单分配
     * 
     * @param orderAllocationId 订单分配ID
     * @return 订单分配
     */
    public OrderAllocation selectOrderAllocationById(Long orderAllocationId);

    /**
     * 查询订单分配列表
     * 
     * @param orderAllocation 订单分配
     * @return 订单分配集合
     */
    public List<OrderAllocation> selectOrderAllocationList(OrderAllocation orderAllocation);

    /**
     * 查询订单全部id
     * @return
     */
    public List<Integer> selectOrderAllocationListId();

    /**
     * 新增订单分配
     * 
     * @param orderAllocation 订单分配
     * @return 结果
     */
    public int insertOrderAllocation(OrderAllocation orderAllocation);

    /**
     * 修改订单分配
     * 
     * @param orderAllocation 订单分配
     * @return 结果
     */
    public int updateOrderAllocation(OrderAllocation orderAllocation);

    /**
     * 删除订单分配
     * 
     * @param orderAllocationId 订单分配ID
     * @return 结果
     */
    public int deleteOrderAllocationById(Long orderAllocationId);

    /**
     * 批量删除订单分配
     * 
     * @param orderAllocationIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteOrderAllocationByIds(Long[] orderAllocationIds);
}
